<table border='0' cellpadding='1' cellspacing='2' align='center'>
<br>
<tr>
  <td class="table1" align="center" colspan="26"><font style="font-size: 16px"><b>! Target Available !</b></font></td>
</tr>
<tr>
  <td class="table1" align='center' ><B>&nbsp;</td>
	<td class="table1" align='center' ><B>User Name</td> 
	<td class="table1" align='center' ><B>Month</td>
	<td class="table1" align='center' ><B>Target for the month</td>
	<td class="table1" align='center' ><B>Achieved Till Date</td>
	<td class="table1" align='center' ><B>Balance Target</td>
</tr>
  {section name="sec1" loop=$userTargetArray}
    <tr>
      <td class="table2" align="center">  
    	  <a href="targetDelete.php?usertargetId={$userTargetArray[sec1].usertargetId}" class="link" onclick="return confirm('Are You Sure?');"><img src="./images/deleteIcon.png" border="0" width="15" height="15"></a>
      </td>
      <td class="table2" align="left">{$userTargetArray[sec1].userName}</td>
      <td class="table2" align="left">{$userTargetArray[sec1].month}</td>
      <td class="table2" align="right">{$userTargetArray[sec1].target}</td>
      <td class="table2" align="right">{$userTargetArray[sec1].achievedTarget}</td>
      <td class="table2" align="right">{$userTargetArray[sec1].balanceTarget}</td>
    </tr>
  {sectionelse}
    <tr>
    	<td class="table2" align="center" colspan="6">
    		<h2><font color="red">Record not found...</font></h2>
      </td>
    </tr>
  {/section}
<tr>
	<td class="table1" align="center" colspan="2"> Total</td>
	<td class="table1" align="center"> : </td>
	<td class="table1" align="right">{$totalTarget}</td>
	<td class="table1" align="right">{$totalAchievedTarget}</td>
	<td class="table1" align="right">{$totalBalanceTarget}</td>
</tr>
</table>
</form>
{include file="footer.tpl"}